package com.stream.utils;

/**常量
 *
 * Created by Stream on 2017/5/15.
 */

public class Constant {

    /**
     *超级管理员ID
     */
    public static final int SUPER_ADMIN = 1;

    /**
     * 云储存配置KEY
     */
    public static final String CLOUD_STORAGE_CONFIG_KEY = "CLOUD_STORAGE_CONFIG_KEY";

    /**
     * 菜单类型
     */
    public static enum MenuType{
        /**
         *目录
         */
        CATALOG(0),

        /**
         *菜单
         */
        MENU(1),

        /**
         *按钮
         */
        BUTTON(2);

        private int value;

        private MenuType(int value){
            this.value = value;
        }

        public int getValue() {
            return value;
        }
    }

    /**
     * 定时任务状态
     */
    public static enum ScheduleStatus{
        /**
         *正常
         */
        NORMAL(0),

        /**
         *暂停
         */
        PAUSE(1);

        private int value;

        private ScheduleStatus(int value){
            this.value = value;
        }

        public int getValue() {
            return value;
        }
    }

    /**
     * 云服务
     */
    public static enum CloudService{
        /**
         *七牛云
         */
        QINIU(1),

        /**
         *阿里云
         */
        ALIYUN(2),

        /**
         *腾讯云
         */
        QCLOUD(3);

        private int value;

        private CloudService(int value){
            this.value = value;
        }

        public int getValue() {
            return value;
        }
    }



}